<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Art extends Model
{
    //对应的表
    protected $table = 'arts';
    // 通过model写入字段
    protected $fillable = [
    	'title' , 'description',
    ];

    // 表明模型是否应该被打上时间戳
    public $timestamps = false;
}
